package com.thinkTank.oa.service;


import java.util.List;
import java.util.Map;

import com.thinkTank.oa.base.BaseService;
import com.thinkTank.oa.entity.User;

public interface UserService extends BaseService<User> {
	public User getUserByUsername(String userName);
	
	public Integer addUserAndRole(User user);
	public User findUserById(String userId);
	public Integer updateUserAndRole(User user);
	
	public List<User> queryInPidList(List<String> pidList);
	
	//根据姓名搜索
	public User getUserByFullname(String fullName);

	/**
	 * 通过fullname查询user，主要用于导入
	 * @author pdz
	 * @date 2018年11月16日
	 * @param fullnameList
	 * @return
	 */
	public List<User> queryInFullname(List<String> fullnameList);
}
